<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>pybindgen.typehandlers.inttype.Int16Return</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="pybindgen-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="pybindgen-module.html">Package&nbsp;pybindgen</a> ::
        <a href="pybindgen.typehandlers-module.html">Package&nbsp;typehandlers</a> ::
        <a href="pybindgen.typehandlers.inttype-module.html">Module&nbsp;inttype</a> ::
        Class&nbsp;Int16Return
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="pybindgen.typehandlers.inttype.Int16Return-class.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
<h1 class="epydoc">Class Int16Return</h1><p class="nomargin-top"><span class="codelink"><a href="pybindgen.typehandlers.inttype-pysrc.html#Int16Return">source&nbsp;code</a></span></p>
<center>
<center>  <map id="uml_class_diagram_for_pybindge_112" name="uml_class_diagram_for_pybindge_112">
<area shape="rect" href="pybindgen.typehandlers.inttype.Int16Return-class.html#CTYPES" title="pybindgen.typehandlers.inttype.Int16Return.CTYPES" alt="" coords="95,279,300,297"/>
<area shape="rect" href="pybindgen.typehandlers.inttype.Int16Return-class.html#get_c_error_return" title="Return a &quot;return &lt;value&gt;&quot; code string, for use in case of error" alt="" coords="95,300,300,319"/>
<area shape="rect" href="pybindgen.typehandlers.inttype.Int16Return-class.html#convert_python_to_c" title="Writes code to convert the Python return value into the C &quot;retval&quot; &#160;variable." alt="" coords="95,319,300,337"/>
<area shape="rect" href="pybindgen.typehandlers.inttype.Int16Return-class.html#convert_c_to_python" title="Writes code to convert the C return value the Python return." alt="" coords="95,337,300,356"/>
<area shape="rect" href="pybindgen.typehandlers.inttype.Int16Return-class.html" title="pybindgen.typehandlers.inttype.Int16Return" alt="" coords="93,261,301,357"/>
<area shape="rect" href="pybindgen.typehandlers.base.ReturnValue-class.html#SUPPORTS_TRANSFORMATIONS" title="pybindgen.typehandlers.base.ReturnValue.SUPPORTS_TRANSFORMATIONS" alt="" coords="63,135,332,153"/>
<area shape="rect" href="pybindgen.typehandlers.base.ReturnValue-class.html#REQUIRES_ASSIGNMENT_CONSTRUCTOR" title="pybindgen.typehandlers.base.ReturnValue.REQUIRES_ASSIGNMENT_CONSTRUCTOR" alt="" coords="63,153,332,172"/>
<area shape="rect" href="pybindgen.typehandlers.base.ReturnValue.__metaclass__-class.html" title="Metaclass for automatically registering parameter type handlers" alt="" coords="63,172,332,191"/>
<area shape="rect" href="pybindgen.typehandlers.base.ReturnValue-class.html#new" title="pybindgen.typehandlers.base.ReturnValue.new" alt="" coords="63,193,332,212"/>
<area shape="rect" href="pybindgen.typehandlers.base.ReturnValue-class.html#__init__" title="Creates a return value object" alt="" coords="63,212,332,231"/>
<area shape="rect" href="pybindgen.typehandlers.base.ReturnValue-class.html" title="Abstract base class for all classes dedicated to handle specific return value types" alt="" coords="61,117,333,232"/>
<area shape="rect" href="pybindgen.typehandlers.base.TypeHandler-class.html#ctype_no_const" title="pybindgen.typehandlers.base.TypeHandler.ctype_no_const" alt="" coords="17,28,377,47"/>
<area shape="rect" href="pybindgen.typehandlers.base.TypeHandler-class.html#set_tranformation" title="pybindgen.typehandlers.base.TypeHandler.set_tranformation" alt="" coords="17,49,377,68"/>
<area shape="rect" href="pybindgen.typehandlers.base.TypeHandler-class.html#set_transformation" title="Set the type transformation to use in this type handler" alt="" coords="17,68,377,87"/>
<area shape="rect" href="pybindgen.typehandlers.base.TypeHandler-class.html" title="pybindgen.typehandlers.base.TypeHandler" alt="" coords="16,11,379,88"/>
</map>
  <img src="uml_class_diagram_for_pybindge_112.gif" alt='' usemap="#uml_class_diagram_for_pybindge_112" ismap="ismap" class="graph-without-title" />
</center>
</center>
<hr />
<!-- ==================== NESTED CLASSES ==================== -->
<a name="section-NestedClasses"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td align="left" colspan="2" class="table-header">
    <span class="table-header">Nested Classes</span></td>
</tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="pybindgen.typehandlers.base.ReturnValue-class.html">base.ReturnValue</a></code></b>:
      <code><a href="pybindgen.typehandlers.base.ReturnValue.__metaclass__-class.html">__metaclass__</a></code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td align="left" colspan="2" class="table-header">
    <span class="table-header">Instance Methods</span></td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="pybindgen.typehandlers.inttype.Int16Return-class.html#get_c_error_return" class="summary-sig-name">get_c_error_return</a>(<span class="summary-sig-arg">self</span>)</span><br />
      Return a &quot;return &lt;value&gt;&quot; code string, for use in 
      case of error</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.typehandlers.inttype-pysrc.html#Int16Return.get_c_error_return">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="pybindgen.typehandlers.inttype.Int16Return-class.html#convert_python_to_c" class="summary-sig-name">convert_python_to_c</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">wrapper</span>)</span><br />
      Writes code to convert the Python return value into the C 
      &quot;retval&quot; variable.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.typehandlers.inttype-pysrc.html#Int16Return.convert_python_to_c">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="pybindgen.typehandlers.inttype.Int16Return-class.html#convert_c_to_python" class="summary-sig-name">convert_c_to_python</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">wrapper</span>)</span><br />
      Writes code to convert the C return value the Python return.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pybindgen.typehandlers.inttype-pysrc.html#Int16Return.convert_c_to_python">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="pybindgen.typehandlers.base.ReturnValue-class.html">base.ReturnValue</a></code></b>:
      <code><a href="pybindgen.typehandlers.base.ReturnValue-class.html#__init__">__init__</a></code>
      </p>
    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="pybindgen.typehandlers.base.TypeHandler-class.html">base.TypeHandler</a></code></b>:
      <code><a href="pybindgen.typehandlers.base.TypeHandler-class.html#set_tranformation">set_tranformation</a></code>,
      <code><a href="pybindgen.typehandlers.base.TypeHandler-class.html#set_transformation">set_transformation</a></code>
      </p>
    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
      <code>__delattr__</code>,
      <code>__format__</code>,
      <code>__getattribute__</code>,
      <code>__hash__</code>,
      <code>__new__</code>,
      <code>__reduce__</code>,
      <code>__reduce_ex__</code>,
      <code>__repr__</code>,
      <code>__setattr__</code>,
      <code>__sizeof__</code>,
      <code>__str__</code>,
      <code>__subclasshook__</code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== CLASS METHODS ==================== -->
<a name="section-ClassMethods"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td align="left" colspan="2" class="table-header">
    <span class="table-header">Class Methods</span></td>
</tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="pybindgen.typehandlers.base.ReturnValue-class.html">base.ReturnValue</a></code></b>:
      <code><a href="pybindgen.typehandlers.base.ReturnValue-class.html#new">new</a></code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== CLASS VARIABLES ==================== -->
<a name="section-ClassVariables"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td align="left" colspan="2" class="table-header">
    <span class="table-header">Class Variables</span></td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="CTYPES"></a><span class="summary-name">CTYPES</span> = <code title="['int16_t', 'short', 'short int']"><code class="variable-group">[</code><code class="variable-quote">'</code><code class="variable-string">int16_t</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">short</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">short int</code><code class="variable-quote">'</code><code class="variable-group">]</code></code>
    </td>
  </tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="pybindgen.typehandlers.base.ReturnValue-class.html">base.ReturnValue</a></code></b>:
      <code><a href="pybindgen.typehandlers.base.ReturnValue-class.html#REQUIRES_ASSIGNMENT_CONSTRUCTOR">REQUIRES_ASSIGNMENT_CONSTRUCTOR</a></code>,
      <code><a href="pybindgen.typehandlers.base.ReturnValue-class.html#SUPPORTS_TRANSFORMATIONS">SUPPORTS_TRANSFORMATIONS</a></code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== PROPERTIES ==================== -->
<a name="section-Properties"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td align="left" colspan="2" class="table-header">
    <span class="table-header">Properties</span></td>
</tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="pybindgen.typehandlers.base.TypeHandler-class.html">base.TypeHandler</a></code></b>:
      <code><a href="pybindgen.typehandlers.base.TypeHandler-class.html#ctype_no_const">ctype_no_const</a></code>
      </p>
    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
      <code>__class__</code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== METHOD DETAILS ==================== -->
<a name="section-MethodDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td align="left" colspan="2" class="table-header">
    <span class="table-header">Method Details</span></td>
</tr>
</table>
<a name="get_c_error_return"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">get_c_error_return</span>(<span class="sig-arg">self</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="pybindgen.typehandlers.inttype-pysrc.html#Int16Return.get_c_error_return">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Return a &quot;return &lt;value&gt;&quot; code string, for use in case
  of error</p>
  <dl class="fields">
    <dt>Overrides:
        <a href="pybindgen.typehandlers.base.ReturnValue-class.html#get_c_error_return">base.ReturnValue.get_c_error_return</a>
        <dd><em class="note">(inherited documentation)</em></dd>
    </dt>
  </dl>
</td></tr></table>
</div>
<a name="convert_python_to_c"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">convert_python_to_c</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">wrapper</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="pybindgen.typehandlers.inttype-pysrc.html#Int16Return.convert_python_to_c">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Writes code to convert the Python return value into the C 
  &quot;retval&quot; variable.</p>
  <dl class="fields">
    <dt>Overrides:
        <a href="pybindgen.typehandlers.base.ReturnValue-class.html#convert_python_to_c">base.ReturnValue.convert_python_to_c</a>
        <dd><em class="note">(inherited documentation)</em></dd>
    </dt>
  </dl>
</td></tr></table>
</div>
<a name="convert_c_to_python"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">convert_c_to_python</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">wrapper</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="pybindgen.typehandlers.inttype-pysrc.html#Int16Return.convert_c_to_python">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Writes code to convert the C return value the Python return.</p>
  <dl class="fields">
    <dt>Overrides:
        <a href="pybindgen.typehandlers.base.ReturnValue-class.html#convert_c_to_python">base.ReturnValue.convert_c_to_python</a>
        <dd><em class="note">(inherited documentation)</em></dd>
    </dt>
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="pybindgen-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Sun Jul 12 17:23:36 2009
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
